﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain.DTO
{
    public class MaterialDTO
    {
        /// <summary>
        /// 物料Id，主键自增
        /// </summary>
        public int MatId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MatCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MatName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? MatModel { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string? MatBrand { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int MatUnit { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public int MatType { get; set; }
        /// <summary>
        /// 物料属性
        /// </summary>
        public int MatPerMess { get; set; }
        /// <summary>
        /// 采购单价
        /// </summary>
        public decimal MatPrice { get; set; }
        /// <summary>
        /// 最小库存数
        /// </summary>
        public int MatMin { get; set; }
        /// <summary>
        /// 最大库存数
        /// </summary>
        public int MatMax { get; set; }
        /// <summary>
        /// 物料有效期
        /// </summary>
        public string? MatDate { get; set; }
        /// <summary>
        /// 报警天数
        /// </summary>
        public int MatPolice { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool MatState { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? MatDesc { get; set; }
        /// <summary>
        /// 物料图片
        /// </summary>
        public string? MatImage { get; set; }

        /// <summary>
        /// 类别Id，主键，自增
        /// </summary>
        public int TypeId { get; set; }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 主键，自增
        /// </summary>
        public int UnitId { get; set; }
        /// <summary>
        /// 物料单位名称
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 属性Id 主键，自增
        /// </summary>
        public int AttId { get; set; }
        /// <summary>
        /// 属性名称
        /// </summary>
        public string? AttName { get; set; }
    }
}
